<template>
  <div class="fjhkyzzsc">
    <p class="top">
      <span style="font-weight: 700; font-size: 16px; color: #000">{{ info.residentName }}</span>
      <span style="display: inline-block; margin: 0 20px"
        >证件号：{{ info.idNo }}</span
      >
      <span>填表人：{{ info.createUserId }}</span>
    </p>
    <p>
      <span style="font-size: 14px; color: red"
        >表格中带*号项目为基本公共卫生服务规范必填项目
      </span>
    </p>
    <div class="box">
      <span style="color: red">* </span>
      <span>肺结核可疑症状筛查时间：</span>
      <el-date-picker
        v-model="info.visitDate"
        align="right"
        type="date"
        placeholder="选择肺结核可疑症状筛查时间"
        :picker-options="pickerOptions"
        size="small"
      >
      </el-date-picker>
    </div>
    <div class="box">
      <span style="color: red">* </span>
      <span>筛查医生：</span>
      <el-select
        filterable
        placeholder="请选择筛查医生"
        size="small"
        style="width: 200px"
        v-model="info.unitName"
      >
        <el-option
          v-for="item in options"
          :key="item.value"
          :label="item.label"
          :value="item.value"
        >
        </el-option>
      </el-select>
      <el-select
        filterable
        placeholder="请选择筛查医生"
        size="small"
        style="width: 200px; margin-left: 20px"
        v-model="info.executorName"
      >
        <el-option
          v-for="item in options"
          :key="item.value"
          :label="item.label"
          :value="item.value"
        >
        </el-option>
      </el-select>
    </div>
    <div class="box">
      <span style="color: red">* </span>
      <span>是否开展肺结核：</span>
      <el-radio-group v-model="info.可疑症状者筛查">
        <el-radio label="是">是</el-radio>
        <el-radio label="否">否</el-radio>
      </el-radio-group>
    </div>
    <div class="box">
      <span style="color: red">* </span>
      <span>是否有肺结核可疑症状：</span>
      <el-radio-group v-model="info.是否有肺结核可疑症状">
        <el-radio label="是">是</el-radio>
        <el-radio label="否">否</el-radio>
      </el-radio-group>
      <el-checkbox-group
      v-if="info.是否有肺结核可疑症状 == '是'"
          v-model="info.有肺结核可疑症状"
        >
          <el-checkbox label="慢性咳嗽、咳痰≥2周"></el-checkbox>
          <el-checkbox label="咳血或血痰"></el-checkbox>
          <el-checkbox label="发热、盗汗"></el-checkbox>
          <el-checkbox label="胸痛"></el-checkbox>
          <el-checkbox label="不明原因消瘦"></el-checkbox>
          <el-checkbox label="食欲减退"></el-checkbox>
          <el-checkbox label="其他"></el-checkbox>
          <el-input
            size="small"
            v-model="info.有肺结核可疑症状其他"
            style="width: 150px; margin-right: 10px; margin-left: 10px"
            placeholder="请输入......"
            v-if="info.有肺结核可疑症状 == '其他'"
          ></el-input>
        </el-checkbox-group>
    </div>
    <div class="box">
      <span style="color: red">* </span>
      <span>否推荐转诊：</span>
      <el-radio-group v-model="info.否推荐转诊">
        <el-radio label="是">是</el-radio>
        <el-radio label="否">否</el-radio>
      </el-radio-group>
      <p style="color: #f19332">
        温馨提示：无肺结核可疑症状但自愿接受结核病检查者也可进行推荐转诊
      </p>
    </div>
    <div class="box">
      <span>是否到结核病定点治疗医院接受进一步结核病检查：</span>
      <el-radio-group v-model="info.是否到结核病定点治疗医院接受进一步结核病检查">
        <el-radio label="是">是</el-radio>
        <el-radio label="否">否</el-radio>
      </el-radio-group>
      <p style="color: #f19332">
        温馨提示：在基层医疗卫生机构开展结核病影像学检查者，如胸片正常可算做到结核病定点治疗医院接受进一步结核病检查，即 勾选“是”，如胸片异常需转至结核病定点治疗医院进一步检查方 能勾选“是”，否则只能选“否”
      </p>
    </div>
    <div class="box">
      <span>结核病诊断结果：</span>
      <el-radio-group v-model="info.结核病诊断结果">
        <el-radio label="活动性肺结核">活动性肺结核</el-radio>
        <el-radio label="陈旧性肺结核">陈旧性肺结核</el-radio>
        <el-radio label="">排除结核</el-radio>
      </el-radio-group>
    </div>
  </div>
</template>
    
    <script>
export default {
  data() {
    return {
      info: {
        有肺结核可疑症状:[],
      },
      options: [
        {
          value: "测试",
          label: "测试",
        },
      ],
      pickerOptions: {
        
        shortcuts: [
          {
            text: "今天",
            onClick(picker) {
              picker.$emit("pick", new Date());
            },
          },
        ],
      },
      value2: "",
    };
  },
};
</script>
    
    <style scoped lang="scss">
.fjhkyzzsc {
  .top {
    padding: 10px 20px;
    background-color: #e6f7ff;
    border: 1px solid #91d5ff;
  }
  .tab1 {
    tr {
      width: 100%;
      th {
        text-align: center;
        color: #000;
        background-color: rgb(250, 250, 250);
      }
      td {
        padding: 10px;
      }
    }
  }
  .box {
    padding: 10px 250px;
    background-color: rgb(250, 250, 250);
    margin: 10px 0;
  }
}
</style>